<include file="Common:layout" />
<body style="background-color: rgb(255, 255, 255); overflow: auto; cursor: default;">
<div id="append_parent"></div>
<div id="ajaxwaitid"></div>
<div class="page">
    <div class="fixed-bar">
        <div class="item-title"><a class="back" href="javascript:history.back();" title="返回列表"></a>
            <div class="subject">
                <h3>系统管理 - 个人信息修改</h3>
            </div>
        </div>
    </div>

    <form action="{:U('Index/self')}" method="post" class="form-horizontal" id="spec_form">
        <div class="ncap-form-default">
            <dl class="row">
                <dt class="tit">
                    <label>姓名：</label>
                </dt>
                <dd class="opt">
                    <input type="text" disabled value="{:session('name')}" class="w100"/>
                    <span class="err" id="s_name" style="color:#F00; display:none;"></span>
                    <p class="notic"></p>
                </dd>
            </dl>
            <dl class="row">
                <dt class="tit">
                    <label>角色：</label>
                </dt>
                <dd class="opt">
                    <input type="text" disabled value="{:session('role_name')}" class="w100"/>
                    <p class="notic"></p>
                </dd>
            </dl>
            <dl class="row">
                <dt class="tit">
                    <label>手机：</label>
                </dt>
                <dd class="opt">
                    <input type="text" class="w100" name="mobile" required data-type="number" maxlength="11" id="mobile"/>
                    <p class="notic"></p>
                </dd>
            </dl>
            <dl class="row">
                <dt class="tit">
                    <label>邮箱：</label>
                </dt>
                <dd class="opt">
                    <input type="text" class="w100" name="email" value="{$self['email']}" id="email"/>
                    <p class="notic"></p>
                </dd>
            </dl>

            <dl class="row">
                <dt class="tit">
                    <label><em>*</em>原密码：</label>
                </dt>
                <dd class="opt">
                    <input type="password" class="w100" name="pwd" placeholder="如需修改请填写" />
                    <span class="err" id="pwd" style="color:#F00; display:none;"></span>
                    <p class="notic"></p>
                </dd>
            </dl>

            <dl class="row">
                <dt class="tit">
                    <label><em>*</em>新密码：</label>
                </dt>
                <dd class="opt">
                    <input type="password" class="w100" name="npwd" placeholder="如需修改请填写" />
                    <span class="err" id="npwd" style="color:#F00; display:none;"></span>
                    <p class="notic"></p>
                </dd>
            </dl>

            <div class="bot"><a id="submitBtn" class="ncap-btn-big ncap-btn-green" href="JavaScript:void(0);">确认提交</a></div>
        </div>
    </form>
</div>
<script>
    $(function() {
        $("#submitBtn").click(function(){
            $("#spec_form").submit();
        });
    });
</script>
</body>
</html>